package com.feemanage.domain.vo;

import com.common.annotation.Excel;
import com.common.utils.poi.MyDataHandler;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.framework.config.BigDecimalSerializer;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
public class BizCwIncomeVo {

    private static final long serialVersionUID = 1L;

    private String id; //id

    private String cwDch;//财务对冲号

    /** 来款单位 */
    @Excel(name = "来款单位")
    private String incomeUnit;

    /** 经费状态 */
    private String feeStatus;

    /** 来款金额 */
    @Excel(name = "来款金额(万元)",handler = MyDataHandler.class, args = { "金额"})
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal feeValue;

    @Excel(name = "摘要")
    private String note; //摘要

    /** 来款日期 */
    @Excel(name = "来款日期")
    private LocalDate incomeDate;

    /** 可领金额*/
    @Excel(name = "可领金额(万元)",handler = MyDataHandler.class, args = { "金额"})
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal notClaimfee;

    @Excel(name = "来款类型",readConverterExp = "direct=直接经费,indirect=间接经费,mixed=混合经费")
    private String incomeType; //来款类型

}
